//
//  ImageUtilss.h
//  FunnyReader
//
//  Created by yht on 2025/1/20.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <opencv2/opencv.hpp>

NS_ASSUME_NONNULL_BEGIN

@interface ImageUtils : NSObject
+ (cv::Mat) UIImageToMat:(UIImage *)image;
+ (UIImage *)imageWithCVMat:(const cv::Mat &)mat;
+ (UIImage*)fixOrientationOfImage:(UIImage*)image;

@end

NS_ASSUME_NONNULL_END
